﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BPMN.Domid.Dto.RoleDto
{
    public class UpdateUserRoleDto
    {
        /// <summary>
        /// 用户编号
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 用户名称
        /// </summary>
        public string? UserName { get; set; }
        /// <summary>
        /// 年龄
        /// </summary>
        public int? UserAge { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string? RealName { get; set; }
        /// <summary>
        /// 邮件
        /// </summary>
        public string? Email { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string? Phone { get; set; }

        public List<UpdateUserRoleDtos>? UpdateUserRoleDtosList { get; set; }

        public class UpdateUserRoleDtos
        {
            /// <summary>
            /// 用户角色编号
            /// </summary>
            public int Id { get; set; }
            /// <summary>
            /// 用户编号
            /// </summary>
            public int UserId { get; set; }
            /// <summary>
            /// 角色编号
            /// </summary>
            public int RoleId { get; set; }
            /// <summary>
            /// 角色名称
            /// </summary>
            public string? RoleName { get; set; }
        }
    }
}
